home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / x11 / x11r5.zoo / usr / lib / X11 / twm / lemke.twmrc < prev   
Encoding:
Text File  |  1990-01-17  |  5.7 KB  |  256 lines

  1. #
  2. #  Dave Lemke's .twmrc
  3. #
  4.  
  5. IconDirectory "/u/lemke/lib/icons"
  6.  
  7. #AutoRelativeResize
  8. BorderWidth    3
  9. ButtonIndent    0
  10. ClientBorderWidth
  11. #DefaultFunction    f.nop
  12. #DontMoveOff
  13. IconifyByUnmapping
  14. IconFont    "-adobe-helvetica-bold-r-normal--14-100-100-100-p-82-iso8859-1"
  15. IconManagerFont    "-adobe-helvetica-bold-r-normal--14-100-100-100-p-82-iso8859-1"
  16. IconManagerGeometry  "=98x5-2+50"
  17. #LeftTitleButton    "menu12.xbm" = f.menu "window-ops"
  18. MenuFont    "-adobe-helvetica-bold-r-normal--14-100-100-100-p-82-iso8859-1"
  19. MoveDelta    5
  20. #NoBackingStore
  21. NoDefaults
  22. NoGrabServer
  23. NoMenuShadows
  24. #NoRaiseOnDeiconify
  25. NoRaiseOnMove
  26. #NoRaiseOnResize
  27. #NoSaveUnder
  28. #NoTitleFocus
  29. #NoVersion
  30. #OpaqueMove
  31. ResizeFont    "10x20"
  32. RestartPreviousState
  33. #ReverseVideo
  34. ShowIconManager
  35. SortIconManager
  36.  
  37. SqueezeTitle
  38. {
  39.     "XTerm"        center    0    0 
  40.     "Xsol"        center    0    0
  41.     "Spider"    center    0    0
  42. }
  43.  
  44. TitleFont    "-adobe-helvetica-bold-r-normal--14-100-100-100-p-82-iso8859-1"
  45. TitleButtonBorderWidth    1
  46. UnknownIcon     "ncdlogo64.xbm"
  47. #WarpCursor
  48. XORValue    1
  49. #Zoom
  50.  
  51. DefaultFunction    f.nop
  52.  
  53. Function "move-or-raise"
  54. {
  55.     f.move
  56.     f.deltastop
  57.     f.raise
  58. }
  59.  
  60. AutoRaise
  61. {
  62.     "xtrek"
  63.     "TWM Icon Manager"
  64.     "xclock"
  65.     "xbiff"
  66.     "xeyes"
  67. }
  68.  
  69. Cursors
  70. {
  71.     Menu    "right_ptr"
  72. }
  73.  
  74. DontIconifyByUnmapping
  75. {
  76.     "xclock"
  77.     "xbiff"
  78.     "twmOutput"
  79.     "xload"
  80.     "oclock"
  81.     "xeyes"
  82. }
  83.  
  84. IconManagerDontShow
  85. {
  86.     "xclock"
  87.     "xbiff"
  88.     "twmOutput"
  89.     "xload"
  90.     "oclock"
  91.     "xeyes"
  92. }
  93.  
  94. Monochrome
  95. {
  96.     DefaultForeground    "black"
  97.     DefaultBackground    "white"
  98.     BorderColor    "black"
  99.     TitleForeground    "black"
  100.     TitleBackground    "white"
  101.     MenuForeground    "black"
  102.     MenuBackground    "white"
  103. }
  104.  
  105. NoTitle
  106. {
  107.     "xclock"
  108.     "xbiff"
  109.     "xload"
  110.     "TWM Icon Manager"
  111.     "FrameMaker"
  112.     "FrameWriter"
  113.     "oclock"
  114.     "twmOutput"
  115.     "xeyes"
  116. }
  117.  
  118. #
  119. # buttons
  120. #
  121.  
  122. Button1 =     : root    : f.menu "button1"
  123. Button2 =     : root    : f.menu "Util_menu"
  124. Button3 =     : root    : f.menu "Hosts_menu"
  125. Button1 =     : m    : f.iconify
  126. Button2 =     : m    : f.lower
  127. Button1 =     : t    : f.function "move-or-raise"
  128. Button2 =     : t    : f.lower
  129. Button3 =     : t    : f.menu "window-ops"
  130. Button1 =     : i    : f.iconify
  131. Button2 =     : i    : f.function "move-or-raise"
  132.  
  133. "F1"    =    : w|t|i    : f.iconify
  134. "F2"    =    : all    : f.refresh
  135. "F3"    =    : w|t|i    : f.raise
  136. "F4"    =    : w|t|i    : f.lower
  137.  
  138. "F5"    =    : w|t|i    : f.zoom
  139.  
  140.  
  141.  
  142. menu "button1"
  143. {
  144. "Applications"        f.title
  145. #"FrameWriter"        !"rsh indian -n /usr/local/xframewriter $DISPLAY& "
  146. #"Q Calc "        !"rsh indian -n /usr/bin/X11/xterm -display $DISPLAY -T Qcalc -e /pmax/u/demo/qsp/bin/qcalc &"
  147. #"Notepad"        !"/usr/bin/dxnotepad -display $DISPLAY&"
  148. #"Calculator"        !"xcalc -display $DISPLAY&"
  149. "Mail Box"        !"/usr/bin/X11/xbiff -display $DISPLAY&"
  150. "Clock"                !"oclock -display $DISPLAY &"
  151. "Xterm"            !"/usr/bin/X11/xterm -ls -display $DISPLAY &"
  152. "Big Xterm"        !"/usr/bin/X11/xterm -ls -fn 9x15 -display $DISPLAY &"
  153. "xsol"            !"$HOME/games/bin/`arch`/xsol &"
  154. "Spider"        !"$HOME/games/bin/`arch`/spider &"
  155. "Utility"        f.title
  156. #"Focus"        f.focus
  157. #"UnFocus"        f.unfocus
  158. #"More.."        f.title
  159. "..Hosts"        f.menu "Hosts_menu"
  160. "..Applications"    f.menu "Apps_menu"
  161. "..Utility"        f.menu "Util_menu"
  162. ""            f.title
  163. "Exit"            f.quit
  164. }
  165.  
  166. menu "Hosts_menu"
  167. {
  168. "Host Connections"    f.title
  169. "Almanor"    !"rsh -n almanor exec /usr/bin/X11/xterm -ls -display $DISPLAY -T Almanor&"
  170. "Hamilton"    !"rsh -n hamilton exec /usr/bin/X11/xterm -ls -display $DISPLAY -T Hamilton&"
  171. "Homer"        !"rsh -n Homer exec /usr/bin/X11/xterm -ls -display $DISPLAY -T Homer&"
  172. "Lupine"    !"TERM=xterms xterm -fn 10x20 -T lupine -e rlogin lupine&"
  173. "Ramona"    !"rsh -n ramona exec /usr/bin/X11/xterm -ls -display $DISPLAY -T Ramona&"
  174. "Pagemill"    !"rsh pagemill -n /usr/bin/X11/xterm -display $DISPLAY -T Pagemill -e /bin/ksh&"
  175. "Sheridan"    !"rsh -n sheridan exec /usr/bin/X11/xterm -ls -display $DISPLAY -T Sheridan&"
  176. }
  177.  
  178. menu "Apps_menu"
  179. {
  180. "Applications"    f.title
  181. "Man Pages"        !"/usr/bin/X11/xman -display $DISPLAY&"
  182. #"Notepad"        !"/usr/bin/dxnotepad -display $DISPLAY&"
  183. #"FrameMaker"        !"rsh indian -n /usr/local/xframemaker $DISPLAY& "
  184. #"Calendar"        !"/usr/bin/dxcalendar -display $DISPLAY &"
  185. "Clock"                 !"/usr/bin/X11/xclock -display $DISPLAY &"
  186. #"Rolodex"           !"/usr/bin/dxcardfiler -display $DISPLAY &"
  187. #"Paint"                !"/usr/bin/dxpaint -display $DISPLAY &"
  188. "Lock Screen"        !"/usr/bin/X11/xlock & "
  189. "Preferences"        !"/usr/bin/X11/xpref -display $DISPLAY&"
  190. "Xterm"            !"/usr/bin/X11/xterm -ls -display $DISPLAY &"
  191. }
  192.  
  193. menu "Util_menu"
  194. {
  195. "Utilities"        f.title
  196. "Refresh"        f.refresh
  197. "twm Version"        f.version
  198. "Source .twmrc"        f.twmrc
  199. "Restart twm"        f.restart
  200. #"Hide IconManager"      f.hideiconmgr
  201. #"Show IconManager"      f.showiconmgr
  202. #"Destroy All Window"    !"xkill -a&"
  203. "Preferences"        f.menu "Pref_menu"
  204. "TwmWindows"        f.menu "TwmWindows"
  205. "Exit twm"        f.quit
  206. "Window Ops"        f.title
  207. "Refresh Window"    f.winrefresh
  208. "Move Window"           f.move
  209. "Resize Window"         f.resize
  210. "Lower Window"        f.lower
  211. "Raise Window"        f.raise
  212. "Iconify"        f.iconify
  213. "Window Info"        f.identify
  214. "Destroy Window"        f.destroy
  215. "Focus on Window"       f.focus
  216. "Focus on Root"        f.unfocus
  217. }
  218.  
  219. menu "Pref_menu"
  220. {
  221. "Preferences"        f.title
  222. "Bell Loud"        !"xset b 75&"
  223. "Bell Normal"        !"xset b 50&"
  224. "Bell Quiet"        !"xset b 25&"
  225. "Bell Off"        !"xset b off&"
  226. "Mouse Fast"        !"xset m 5 1&"
  227. "Mouse Normal"        !"xset m 3 1&"
  228. "Mouse Slow"        !"xset m 1 1&"
  229. "Screen Saver"        f.menu "SSaver"
  230. }
  231.  
  232.  
  233. menu "SSaver"
  234. {
  235. "Screen Saver"        f.title
  236. "Blank"            !"/usr/bin/X11/xset s blank -display $DISPLAY &"
  237. "No Blank"        !"/usr/bin/X11/xset s noblank -display $DISPLAY &"
  238. "Saver 2 Sec."        !"/usr/bin/X11/xset s 2 2 -display $DISPLAY &"
  239. "Saver 2 Min."        !"/usr/bin/X11/xset s 120 120 -display $DISPLAY &"
  240. "Saver 10 Min."        !"/usr/bin/X11/xset s 600 600 -display $DISPLAY &"
  241. }
  242.  
  243. menu "window-ops"
  244. {
  245. "Window Ops"        f.title
  246. "Iconify"        f.iconify
  247. "Refresh Window"    f.winrefresh
  248. "Move Window"        f.move
  249. "Resize Window"        f.resize
  250. "Hide Window"        f.lower
  251. "Expose Window"        f.raise
  252. "Destroy Window"    f.destroy
  253. "Delete Window"        f.delete
  254. "Save"            f.saveyourself
  255. }
  256.